<!DOCTYPE html>

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"> 


    <h:outputScript name="jquery.maskedinput-1.3.js" library="javascript" />
    <script>
        jQuery(function($) {
            $("input.phone").mask("(99) 9999-9999");
            $("input.date").mask("99/99/9999");
        });
    </script>
    
</ui:composition>		